#include"web.h"
main()
{
char is_valid[2];
disableCache();
initHtml();
returnCookieString("is_valid_session",is_valid);
if(strcmp(is_valid,"1")==0)
{
includeFile("data1.txt");
printf("Welcome to member area");
includeFile("data2.txt");
printf("<div align=\"right\"><a href=\"logout.c\">Logout</a></div><br/>");
includeFile("content.txt");
printf("</center>");
includeFile("data3.txt");
}
else
printf("You are not authorized to view this page");
}